import Vue from 'vue'
import config from '@/config'

Vue.mixin({
    filters: {
        avatar(e) {
            if (!e) {
                return config.qiniu + 'FjOWYKEmOtCEUXJz9uIaepiPGPcX'
            }
            return config.qiniu + e
        }
    }
})